package com.hl.card.credit.pub.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hl.card.credit.pub.entity.PublicTravelP;

public interface PublicTravelPDao<T, ID> extends AbstractDao<T, ID> {
	public void addBatch(@Param("list") List<PublicTravelP> list);

	public void updateByTravelP(PublicTravelP publicTravelP);
	
	/**
	 * 
	    * @Title: queryptpList
	    * @Description: TODO(根据出行人相关信息查询相应的数据，适用少量以内记录查询)
	    * @param @param publicTravelP
	    * @param @return    参数
	    * @return List<PublicTravelP>    返回类型
	    * @throws
	 */
	public List<PublicTravelP> queryptpList(PublicTravelP publicTravelP);
	
	/**
	 * 
	    * @Title: updateBySelectiveForUpdate
	    * @Description: TODO(根据cert_no和order_code 更新出行人信息 )
	    * @param @param temp    参数
	    * @return void    返回类型
	    * @throws
	 */
	public void updateBySelectiveForUpdate(PublicTravelP temp);
}
